using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Cloud : MonoBehaviour
{
    public float offsetX = 2000;
    public float duration = 10f;

    // Start is called before the first frame update
    void Start()
    {
        this.transform.DOMoveX(offsetX, duration).SetLoops(-1,LoopType.Yoyo);
    }
}
